﻿@model WebUI.Models.LogOnModel
@{
    ViewBag.Title = "欢迎访问三爱医疗随访";
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0 ">
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    @Html.Partial("CommonCssLinks")
    @Html.Partial("CommonScripts")
    <style type="text/css">
        .page
        {
            width: 837px;
            min-width: 837px;
            height: 392px;
            min-height: 392px;
            border: 0px;
            background-color: white;
        }
        table td
        {
            padding: 0;
        }
    </style>
    
</head>
<body>
    <div id="bodyfirstchild" style="margin-top: 120px;padding-top:8px; background-color: White;border-top:1px solid #d5d5d5;border-bottom:1px solid #d5d5d5;">
        <div class="page">
            <table class="noborder">
                <tr>
                    <td colspan="2" style="padding-left: 12px">
                        <img src="@(Url.Content("~/Content/Images/LogOnLogo.Png"))"/>
                    </td>
                </tr>
                <tr>
                    <td style="background-color: #fafafa;padding-left:4px;padding-top:4px; ">@Html.Partial("SliderView")
                    </td>
                    <td width="220px" style="padding-left: 8px;background-color: #fafafa;">
                        <div class="catalog-title">
                            用户登录</div>
                        @using (Html.BeginForm())
                        {
                            @Html.ValidationSummary(true, "")

                            <div class="editor-label">
                                用户名：
                            </div>
                            <div class="editor-field">
                                @Html.TextBoxFor(m => m.UserName)
                                @Html.ValidationMessageFor(m => m.UserName,"*")
                            </div>
                            <div class="editor-label">
                                密码：
                            </div>
                            <div class="editor-field">
                                @Html.PasswordFor(m => m.Password)
                                @Html.ValidationMessageFor(m => m.Password, "*")
                            </div>
                            <div class="editor-label">
                                @Html.CheckBoxFor(m => m.RememberMe)
                                记住密码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                @Html.ActionLink("忘记密码", "ForgetPassword", null, new { target = "_blank" })
                            </div>
                            <div style="text-align: right">
                                <input id="logonsubmit" type="submit" value="登录" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                        }
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <footer>
    <br /><br /><br /><br />
        @Html.Partial("_FooterInnerPartial")
    </footer>
    <script type="text/javascript">
        $(function () {
            if ($(".page").length > 1) {
                window.open("/Account/LogOn", "_self");
            }
        });
        
    </script>
</body>
</html>
